package test.core;

import org.junit.Test;

public class testError {
	@Test
	public void test() {
		try {
			err();
		} catch (Exception e) {
			System.out.println(e.getMessage());
			System.out.println(e.toString());
			System.out.println(e.getLocalizedMessage());

		}
	}

	public void err() throws Exception {
		throw new Exception("xxnss你好!");
	}
}
